<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
</head>

<body>
    <div id="app">
        <h1 v-text="msg"></h1>
        <h1 v-text="msg1"></h1>
        <h1 v-html="msg1"></h1>
    </div>
    <script>
        let vm = new Vue({
            el: "#app",
            data: {
                msg: "vue hello",
                msg1: "<span>我是html h1</span>"
            }
        })
    </script>
</body>

</html>